package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 考核模块-指标管理
 * @author wiilead
 *
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(value = "考核模块-指标管理")
public class CcmsSmartleasingIndicator implements Serializable {

    @ApiModelProperty(value = "指标id")
    @TableId(value = "indicator_id", type = IdType.UUID)
    private String indicatorId;

    @ApiModelProperty(value = "指标名称")
    private String name;
    
    @ApiModelProperty(value = "工作目标")
    private String jobTarget;
    
    @ApiModelProperty(value = "评分标准")
    private String scoreStandard;

    @ApiModelProperty(value = "指标描述")
    private String description;

    @ApiModelProperty(value = "父级Id")
    private String parentId;

    @ApiModelProperty(value = "是否删除（0.否 1.是）")
    private Integer isDelete;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;
    
    @ApiModelProperty(value = "对应二级指标")
    @TableField(exist = false)
    private List<CcmsSmartleasingIndicator> childIndicatorList;

    private static final long serialVersionUID = 1L;

}
